/**
 * Copyright 2007-2008. Chongqing First Information & Network Co., Ltd. All rights reserved.
 * <a>http://www.cqfirst.com.cn</a>
 */
package com.cqcis.uip.base.impl;

import com.cqcis.uip.base.UipClient;

/**
 * @author huangmy
 * @date 2007-11-23
 */
public class BaseUipClient extends BaseUipInterface implements UipClient {
	private String server;
	private String status;

	/**
	 * @see com.cqcis.uip.base.UipClient#getServer()
	 */
	public String getServer() {
		return server;
	}

	/**
	 * @see com.cqcis.uip.base.UipClient#getStatus()
	 */
	public String getStatus() {
		return status;
	}

	/**
	 * @param server the server to set
	 */
	public void setServer(String server) {
		this.server = server;
	}

	/**
	 * @param status the status to set
	 */
	public void setStatus(String status) {
		this.status = status;
	}

	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() {
		return new StringBuffer().append("name:" + this.getName()).append(" server:" + this.server).append(
				" running:" + this.isRunning()).append(" status:" + this.status).append(
				" doneCount:" + this.getDoneCount()).append(" errorCount:" + this.getErrorCount()).append(
				" startTime:" + this.getStartTime()).append(" properties:" + this.getProperties()).toString();
	}

}
